package com.ztsoft.user.service.user;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ztsoft.user.pojo.entity.user.SysMenu;
import com.ztsoft.user.pojo.vo.user.SysMenuVo;
import com.ztsoft.user.utils.Result;

public interface SysMenuService extends IService<SysMenu> {

    Result<Object> queryMenuByPage(SysMenu menu, Integer currentPage, Integer pageSize);

    Result<Object> queryMenuTreeSelect();

    Result<Object> addMenu(SysMenuVo sysMenuVo);

    Result<Object> updateMenu(SysMenuVo sysMenuVo);

    Result<Object> deleteMenu(String id);
}